
from selenium.webdriver.common.by import By
from pages.basepage import Basepage
from pages.mssages import MSG


class MyinfoPage(Basepage):
    wdzh = (By.XPATH, '//a[@href="user.php"]')
    wdly = (By.LINK_TEXT, '我的留言')
    def clickwdly(self):
        self.dlchlick(self.findELe(self.wdly))
        return MSG(self.d)


if __name__ == '__main__':
    vl=MyinfoPage()
    vl.clickwdly()

